package com.yuanbao.base.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author wangjinliang
 */
@Data
public class PageCondition implements Request {

    @ApiModelProperty("页大小")
    @Min(1)
    @NotNull
    private Integer pageSize;

    @ApiModelProperty("当前页 第一页传1")
    @Min(1)
    @NotNull
    private Integer pageNum;
}